<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<script type="text/javascript">
	var a,b,c;
	a=1;
	b=23;
	c=a+b;
	alert(c);
	var sex="男";
	var name="张珊";
	var hoby="主球",age="18",job="学生";
	alert(job);
	d=c*2;
	alert(d);
	alert(sex);
	alert(age);
	alert(hoby);
	document.write("练习变量的");
	</script>
	<title>变量</title>
</head>
<body>
	
</body>
</html>